//
//  MFAAESEncryptor
//
//
//  Created by xiangyaguo on 2018/5/31.
//  Copyright © 2018年 xiangyaguo. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface MFAAESEncryptor : NSObject

/**
 AEC/ECB/PCKSPadding5 加密，输入明文NSData对象
 */
+ (NSData *)ecb_pkcs5_encryptedDataWithPlainData:(NSData *)data key:(NSString *)key;

/**
 AEC/ECB/PCKSPadding5 解密，输出明文NSData对象
 */
+ (NSData *)ecb_pkcs5_decryptedDataWithCipherData:(NSData *)data key:(NSString *)key;
@end
